package cn.bdqn.service.wx.impl;

import cn.bdqn.dao.wx.ClassInfoDao;
import cn.bdqn.entity.ClassInfo;
import cn.bdqn.service.wx.ClassInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ProjectName: ycbdqn
 * @Package: cn.bdqn.service.wx.impl
 * @Author: huat
 * @Date: 2020/3/3 20:20
 * @Version: 1.0
 */
@Service
public class ClassInfoServiceImpl implements ClassInfoService {
    @Autowired
    ClassInfoDao classInfoDao;
    /**
     * 获取所有课程信息
     * @return
     */
    @Override
    public List<ClassInfo> getAllClassInfo() {
        return classInfoDao.getClassInfo();
    }
}
